<?php
/* @var $this PrecoController */
/* @var $model Preco */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'preco-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'zona_id'); ?>
		<?php echo $form->textField($model,'zona_id',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'zona_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'tabuleiro_id'); ?>
		<?php echo $form->textField($model,'tabuleiro_id',array('size'=>11,'maxlength'=>11)); ?>
		<?php echo $form->error($model,'tabuleiro_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'menor_igual_um'); ?>
		<?php echo $form->textField($model,'menor_igual_um',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'menor_igual_um'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'entre_dois_cinco'); ?>
		<?php echo $form->textField($model,'entre_dois_cinco',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'entre_dois_cinco'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mais_de_cinco'); ?>
		<?php echo $form->textField($model,'mais_de_cinco',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'mais_de_cinco'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'created_at'); ?>
		<?php echo $form->textField($model,'created_at'); ?>
		<?php echo $form->error($model,'created_at'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'updated_at'); ?>
		<?php echo $form->textField($model,'updated_at'); ?>
		<?php echo $form->error($model,'updated_at'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'id_produto'); ?>
		<?php echo $form->textField($model,'id_produto'); ?>
		<?php echo $form->error($model,'id_produto'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->